﻿<local:DocumentBase x:Class="WPFExcelReport.JLTONAV95"
                        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"                        
                        xmlns:local="clr-namespace:ReflectionStudio.Components.UserControls;assembly=ReflectionStudio.Core"
                        xmlns:ucd="clr-namespace:ReflectionStudio.Controls;assembly=ReflectionStudio.Controls"
                    xmlns:UserControls="clr-namespace:ReflectionStudio.Components.UserControls;assembly=ReflectionStudio.Controls"
                    xmlns:Localization="clr-namespace:Localization;assembly=Localization"
                         xmlns:db="clr-namespace:INTEX.DataBase"
                    xmlns:me="clr-namespace:WPFExcelReport"
                        Loaded="Window_Loaded"  
                        Background="White"  
                        HorizontalAlignment="Stretch"
                        Margin="0,0,0,0" 
                        VerticalAlignment="Stretch"
                    >
    <local:DocumentBase.Resources>
        <ucd:TextTrimmingConverter x:Key="Trim"></ucd:TextTrimmingConverter>
        <ucd:Divideby10  x:Key="d10"/>
        <ucd:Divideby100  x:Key="d100"/>
        <ucd:Divideby1000  x:Key="d1000"/>
        <ucd:GB2312Convert8859P1  x:Key="gb2312"/>
        <ucd:String2ColorConverter  x:Key="str2color"/>
        <CollectionViewSource   x:Key="vwABAX" Source="{Binding Path=SetMaster.ICC_ABAX}" />
        <CollectionViewSource   x:Key="vwWDECK" Source="{Binding Path=SetMaster.WDECK}" />
        <CollectionViewSource   x:Key="vwVKWDECK" Source="{Binding Path=SetDetail.WDECK}" />
        <CollectionViewSource   x:Key="vwVKPOS" Source="{Binding Path=SetMaster.VKPOS}" />
        <CollectionViewSource   x:Key="vwVKKOPF" Source="{Binding Path=SetMaster.VKKOPF}" />
        <CollectionViewSource   x:Key="vwWASTAMM" Source="{Binding Path=SetMaster.WASTAMM}" />
        <CollectionViewSource   x:Key="vwWAFARBEN" Source="{Binding Path=SetMaster.WAFARBEN}" />
        <CollectionViewSource  x:Key="vwBSSATZ" Source="{Binding Path=SetMaster.BSSATZ}" />
        <CollectionViewSource   x:Key="vwBHSATZ" Source="{Binding Path=SetMaster.BHSATZ}" />
        <CollectionViewSource   x:Key="vwBSFARB" Source="{Binding Path=SetMaster.BSFARB}" />
        <CollectionViewSource  x:Key="vwWTGEW" Source="{Binding Path=SetMaster.WTGEW}" />
        <CollectionViewSource  x:Key="vwWASTKE" Source="{Binding Path=SetMaster.WASTKE}" />
        <CollectionViewSource  x:Key="vwBASTKE" Source="{Binding Path=SetMaster.BASTKE}" />
        <CollectionViewSource  x:Key="vwBASTGA" Source="{Binding Path=SetMaster.BASTGA}" />
        <CollectionViewSource  x:Key="vwWASTGA" Source="{Binding Path=SetMaster.WASTGA}" />
        <CollectionViewSource  x:Key="vwABPOS" Source="{Binding Path=SetDetail.ABPOS}" />
        <CollectionViewSource  x:Key="vwMU" Source="{Binding Path=SetDetail.ICC_ABAX}" />
        <CollectionViewSource  x:Key="vwGAAUF" Source="{Binding Path=SetDetail.GAAUF}" />
        <CollectionViewSource  x:Key="vwAPKOPF" Source="{Binding Path=SetEnv.APKOPF}" />
        <CollectionViewSource  x:Key="vwAPZUORD" Source="{Binding Path=SetMaster.APZUORD}" />
        <CollectionViewSource   x:Key="vwTABAX" Source="{Binding Path=SetDetail.ICC_ABAX}" />
        <CollectionViewSource  x:Key="vwTGAAUF" Source="{Binding Path=SetDetail.GAAUF}" />
    </local:DocumentBase.Resources>  
    <TabControl> 
        <TabItem Header="{Binding Source={Localization:Translate Word=计划面板}}"  >
            <Grid>
                <Grid.RowDefinitions>
                    <RowDefinition Height="1*"></RowDefinition>
                    <RowDefinition Height="2*"></RowDefinition> 
                </Grid.RowDefinitions>
                 <me:VWPLANVKP Grid.Row="0"/>           
                <me:VWVKP Grid.Row="1"/>
            </Grid>
        </TabItem>
        <TabItem Header="{Binding Source={Localization:Translate Word=生产计划}}" Visibility="Collapsed" >
                    <Grid>
                        <Grid.RowDefinitions>
                            <RowDefinition Height="1*"></RowDefinition>
                        </Grid.RowDefinitions>
                        <Grid.ColumnDefinitions>
                            <ColumnDefinition Width="1*"></ColumnDefinition>
                        </Grid.ColumnDefinitions>
                        <me:AB50PLAN />
                    </Grid>
                </TabItem>
        <TabItem Name="tabLS" Header="{Binding Source={Localization:Translate Word=创建领纱单}}" >
                    <Grid>
                        <Grid.RowDefinitions>
                            <RowDefinition Height="1*"></RowDefinition>
                        </Grid.RowDefinitions>
                        <Grid.ColumnDefinitions>
                            <ColumnDefinition Width="1*"></ColumnDefinition>
                        </Grid.ColumnDefinitions>
                        <me:AB50LS  />
                    </Grid>
                </TabItem>
        <TabItem Header="{Binding Source={Localization:Translate Word=工艺信息}}"  Visibility="Collapsed">
                    <Grid>
                        <Grid.RowDefinitions>
                            <RowDefinition Height="1*"></RowDefinition>
                        </Grid.RowDefinitions>
                        <Grid.ColumnDefinitions>
                            <ColumnDefinition Width="1*"></ColumnDefinition>
                        </Grid.ColumnDefinitions>
                        <me:WSINFOR/>
                    </Grid>
                </TabItem>
        <TabItem Header="{Binding Source={Localization:Translate Word=加工工艺指定}}"  Visibility="Collapsed">
                    <Grid>
                        <Grid.RowDefinitions>
                            <RowDefinition Height="1*"></RowDefinition>
                        </Grid.RowDefinitions>
                        <Grid.ColumnDefinitions>
                            <ColumnDefinition Width="1*"></ColumnDefinition>
                        </Grid.ColumnDefinitions>
                        <me:EDITAPZUORD/>
                    </Grid>
                </TabItem>
        <TabItem Header="加成规则"  Visibility="Collapsed">
                </TabItem>
    </TabControl>  
</local:DocumentBase>